#include "unit.hh"

Unit::Unit  (int id, Vector3f pos, Vector3f size, unsigned hp_max, int unit_id, int playerid)
  : GameObj (id, pos, size, hp_max, playerid)
  , unit_id_ (unit_id)
  , ai_ (new BasicAI (&direction_, &speed_, speed_coef_))
{}

Unit::~Unit ()
{}
